Skip to content

feat: add API for getting default contributor role of a collection#12112

Open
vera wants to merge 5 commits intoIQSS:developfrom
vera:feat/get-default-contributor-role
Open

feat: add API for getting default contributor role of a collection#12112
vera wants to merge 5 commits intoIQSS:developfrom
vera:feat/get-default-contributor-role

Conversation

@vera
Copy link
Contributor

@vera vera commented Jan 26, 2026

What this PR does / why we need it:

This PR adds a new API endpoint for getting the default contributor role for a collection (GET /api/dataverses/$ID/defaultContributorRole), analogous to the existing endpoint for setting it (PUT /api/dataverses/$ID/defaultContributorRole/$ALIAS).

Which issue(s) this PR closes:

  • Not aware of any issue.

Special notes for your reviewer:

/

Suggestions on how to test this:

I've extended the existing test:

mvn test -Dtest="DataversesIT#testUpdateDefaultContributorRole"

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

/

Is there a release notes update needed for this change?:

I will add a short release note.

Additional documentation:

/

@pdurbin pdurbin moved this to Ready for Triage in IQSS Dataverse Project Jan 26, 2026
@scolapasta scolapasta moved this from Ready for Triage to Ready for Review ⏩ in IQSS Dataverse Project Jan 27, 2026
@cmbz cmbz added FY26 Sprint 15 FY26 Sprint 15 (2026-01-14 - 2026-01-28) FY26 Sprint 16 FY26 Sprint 16 (2026-01-28 - 2026-02-11) labels Jan 29, 2026
@cmbz cmbz added the FY26 Sprint 17 FY26 Sprint 17 (2026-02-11 - 2026-02-25) label Feb 11, 2026
@stevenwinship stevenwinship self-assigned this Feb 17, 2026
@stevenwinship stevenwinship moved this from Ready for Review ⏩ to In Review 🔎 in IQSS Dataverse Project Feb 17, 2026
@coveralls
Copy link

Coverage Status

coverage: 24.326% (-0.01%) from 24.336%
when pulling 9be6c93 on vera:feat/get-default-contributor-role
into a843c84 on IQSS:develop.

@github-project-automation github-project-automation bot moved this from In Review 🔎 to Ready for QA ⏩ in IQSS Dataverse Project Feb 25, 2026
@cmbz cmbz added the FY26 Sprint 18 FY26 Sprint 18 (2026-02-25 - 2026-03-11) label Feb 26, 2026
@cmbz cmbz added this to the 6.11 milestone Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FY26 Sprint 15 FY26 Sprint 15 (2026-01-14 - 2026-01-28) FY26 Sprint 16 FY26 Sprint 16 (2026-01-28 - 2026-02-11) FY26 Sprint 17 FY26 Sprint 17 (2026-02-11 - 2026-02-25) FY26 Sprint 18 FY26 Sprint 18 (2026-02-25 - 2026-03-11)

Projects

Status: Ready for QA ⏩

Development

Successfully merging this pull request may close these issues.

4 participants